package com.ty.baobao.mapper;

import java.util.List;
import com.ty.baobao.pojo.Catalog;

public interface CatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Catalog record);

    int insertSelective(Catalog record);

    Catalog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Catalog record);

    int updateByPrimaryKey(Catalog record);
    
    //自己扩展的
    List<Catalog> selectByPid(Long pid);
}